package com.healthshare.busi.share;

import com.healthshare.parse.share.CommentParse;
import com.palmedia.framework.business.BaseBusi;
import com.palmedia.framework.myinterface.UiCallBack;
import com.palmedia.framework.parse.BaseParse;
/**
 * @author xudeliang
 * 评论列表
 */
public class CommentListBusi extends BaseBusi
{

	//请求路径：/comment/commentlist?channeltype=0&contentid=232&starttime=0098899&size=20
	private  String  tail = "comment/commentlist.php?channeltype=";
	
	
	public String channeltype = "";
	public String contentid = "";
	public String starttime = "";
	public String size = "20";
	public CommentListBusi(UiCallBack bCallBack)
	{
		super(bCallBack);
	}
	
	public void iExecute()
    {
		reqParam = tail+channeltype+"&contentid="+contentid+"&starttime="+starttime+"&size="+size;
    	super.iExecute();
    }
	
	@Override
	protected BaseParse parseResult(byte[] data)
	{
		// TODO Auto-generated method stub
		CommentParse	ls = new CommentParse();
		ls.Parse(data);
		return ls;
	}
	
	
	
}
